package com.company.cloud.app;

import com.company.cloud.common.auth.bean.WebRequestUrlModel;
import com.company.cloud.common.auth.utils.WebRequestUrlUtils;
import com.company.cloud.common.utils.MainUtils;
import com.company.cloud.user.modules.api.request.ServiceUrlConfigAddRequest;
import com.company.cloud.user.modules.api.service.UrlAuthPlatformRemoteService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

import java.util.List;

@EnableHystrix
@EnableFeignClients(basePackages = { "com.company.cloud" })
@SpringBootApplication
@MapperScan(value = "com.company.**.**.modules.**.mapper")
@ComponentScan(basePackages = { "com.company" })
public class CmsAppApplication {
	public static void main(String[] args) {
		SpringApplication.run(CmsAppApplication.class, MainUtils.args(args));
	}
}